package com.yuwei.common.mvi

sealed class UiState {
    data class onSuccess<out T>(val data : T,val type : String,val time : Long = System.currentTimeMillis()) : UiState()
    data class onError(val msg : String) : UiState()
    object onLoading : UiState()
}